import request from '@/sheep/request';

export default {
    //公告列表列表
    getNotificationList: (data) =>
		request({
			url: 'api/notification/index',
			method: 'POST',
			data,
			custom: {
				loadingMsg: true,
			},
		}),
	//公告列表详情
	getNotificationView: (data) =>
		request({
			url: 'api/notification/view',
			method: 'GET',
			data,
			custom: {
				loadingMsg: true,
				
			},
	}),





	// 用户端公告新增
	notificationProjectAdd: (data) =>
		request({
			url: 'api/notification_project/add',
			method: 'POST',
			data,
			custom: {
				loadingMsg: true,
			},
	}),
	// 用户端公告列表
	notificationProjectIndex: (data) =>
		request({
			url: 'api/notification_project/index',
			method: 'GET',
			data,
			custom: {
				loadingMsg: true,
			},
	}),
	// 用户端公告详情
	notificationProjectView: (data) =>
		request({
			url: 'api/notification_project/view',
			method: 'GET',
			data,
			custom: {
				loadingMsg: true,
			},
	}),
	
	// 劳务派遣、外包-个人中心提醒
	userUserTips: (data) =>
		request({
			url: 'api/user/user_tips',
			method: 'GET',
			data,
			custom: {
				loadingMsg: true,
			},
	}),
}